/**
 * @Title: SysUserServer.java 
 * @Description: TODO
 * @author <a href="mailto:psammead@126.com">Psammead</a>
 * @date 2011-7-15 下午10:29:57 
 * @version 1.0
 * Copyright 2011 by Psammead
 */
package com.psammead.dms.system.sercurity.service;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import com.psammead.dms.common.core.bo.Page;
import com.psammead.dms.system.sercurity.entity.SysUser;

/**
 * 系统用户业务逻辑接口
 * @ClassName: SysUserServer
 * @Description: TODO
 * @author <a href="mailto:psammead@126.com">psammead</a>
 * @version 1.0
 * @date 2011-7-15
 */
public interface SysUserService {
	/**
	 * 新增用户
	 * @Title: addSysUser
	 * @Description: TODO
	 * @param sysUser 
	 * @return void
	 * @throws	
	 */
	public void addSysUser(SysUser sysUser);
	
	/**
	 * 删除用户
	 * @Title: deleteSysUser
	 * @Description: TODO
	 * @param sysUserId 
	 * @return void
	 * @throws	
	 */
	public void deleteSysUser(long id);
	
	/**
	 * 批量的删除用户
	 * @Title: deleteSysUsers
	 * @Description: TODO
	 * @param sysUserIds 
	 * @return void
	 * @throws	
	 */
	public void deleteSysUsers(long[] ids);
	
	/**
	 * 修改用户
	 * @Title: updateSysUser
	 * @Description: TODO
	 * @param sysUser 
	 * @return void
	 * @throws	
	 */
	public void updateSysUser(SysUser sysUser);
	
	/**
	 * 查询用户列表结果集
	 * @Title: querySysUser
	 * @Description: TODO
	 * @param paramMap
	 * @param sortMap
	 * @return List<SysUser>
	 * @throws
	 */
	public List<SysUser> querySysUser(Map<String,Object> paramMap,
				LinkedHashMap<String,String> sortMap);
	
	/**
	 * 查询用户分页结果集
	 * @Title: querySysUser
	 * @Description: TODO
	 * @param paramMap
	 * @param sortMap
	 * @param pageNo
	 * @param pageSize
	 * @return Page<SysUser>
	 * @throws
	 */
	public Page<SysUser> querySysUser(Map<String,Object> paramMap,
			LinkedHashMap<String,String> sortMap, int pageNo, int pageSize);

}
